package com.longe.controller;

import com.longe.dto.TestDto;
import com.longe.dto.TestOhterDto;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @RequestMapping("index")
    public void index(@Validated TestDto testDto){

    }

    @RequestMapping("index/other")
    public void indexOther(@Validated TestOhterDto testOhterDto){

    }
}
